import { Link, Warning } from '@brillout/docpress'

The `filesystemRoutingRoot` setting allows you to change the <Link href="/filesystem-routing">Filesystem Routing</Link> URL. It's usually used for <Link href="/file-structure#domain-driven">domain-driven file structure</Link>.

<Warning>Don't use `filesystemRoutingRoot` to change the Base URL, see <Link href="/base-url" /> instead.</Warning>

```js
// /marketing/+config.js

export default {
  filesystemRoutingRoot: '/'
}
```

```bash
PROJECT FILES                               URL
===============================             ======
/marketing/pages/index/+Page.js             /
/marketing/pages/about/+Page.js             /about
/marketing/pages/jobs/+Page.js              /jobs
```

## See also

 - <Link href="/file-structure#domain-driven" />
 - <Link href="/filesystem-routing" />
 - <Link href="/base-url" />
